package com.example.userdemo.controller;

import com.example.userdemo.entity.SysUser;
import com.example.userdemo.service.LoginService;
import com.example.userdemo.util.Response;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class LoginController {

//    @Resource
//    private LoginService loginService;

//    @PostMapping("/user/login")
//    public Response login(@RequestBody SysUser user){
//        return loginService.login(user);
//    }
}


